package com.shanzmoo.db.store.mapper;

import com.shanzmoo.db.store.entity.StorePurchaseBillDetailEntity;
import com.shanzmoo.db.store.entity.query.StorePurchaseBillDetailQuery;
import com.shanzmoo.db.store.entity.vo.StorePurchaseBillDetailVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 采购单明细 Mapper 接口
 *
 * @author xueqz 2021-03-07
 */
public interface StorePurchaseBillDetailMapper extends BaseMapper<StorePurchaseBillDetailEntity> {

    List<StorePurchaseBillDetailVO> queryPageList(StorePurchaseBillDetailQuery query);

    void deleteByBillId(@Param("id") Integer id);

    List<StorePurchaseBillDetailVO> queryByBillIds(@Param("billIds") List<Integer> billIds);
}
